home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
tools
/
zmc3v078
/
zmc3v078.lzh
/
SRCSV078.LZH
/
CONFIG.H
< prev
next >
Wrap
Text File
|
1998-12-27
|
3KB
|
100 lines
/* ==================================================================
machine enviroments setting
NOTICE: If you want to compile in another OS written Makefile,
please rewrite this file, and rewrite "etc.c"
carefully with byte-order.
(fortunately for UNIX, byte-order will be recognized
automatically and it's unnecessary.)
================================================================== */
#ifndef CONFIG
#ifndef __STDC__
#define void
#define const
#endif
#ifndef __GCC__
#define inline
#endif
#if defined (Linux_i386) || defined (Solaris_UltraSPARC) || defined (FreeBSD) || defined (SunOS41x_SPARC)
#define UNIXY_OS
#endif
/* set variable types as ...
* sizeof(DWORD) = 4
* sizeof(WORD) = 2
* sizeof(BYTE) = 1
*/
#if defined (BCB) /* for Borland C++ Builder */
typedef signed long int DWORD;
typedef signed short WORD;
typedef signed char BYTE;
typedef unsigned long int UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
#endif
#ifdef X68000 /* for X680x0 etc. */
#define NOUSE68LIB /* use libc's strlwr/stricmp */
/* #define XCLIB */ /* use XC library */
typedef long int DWORD;
typedef short WORD;
typedef char BYTE;
typedef unsigned int UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
#endif
#ifdef MSDOS /* for MS-DOS */
/* Macro __TURBOC__ is automaticaly defined by compiler. */
#if defined (__TURBOC__) /* for Turbo-C */
typedef signed long int DWORD;
typedef signed short WORD;
typedef signed char BYTE;
typedef unsigned long int UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
#if !defined(fileno)
#define fileno(f) ((f)->fd)
#endif
#else /* for LSI-C */
typedef long int DWORD;
typedef short WORD;
typedef char BYTE;
typedef unsigned long int UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
#endif
#endif /* MSDOS */
#ifdef TOWNS /* for TOWNS High-C */
typedef signed long DWORD;
typedef signed short WORD;
typedef signed char BYTE;
typedef unsigned long UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
#pragma On(Pointers_compatible);
#endif /* TOWNS */
#ifdef UNIXY_OS /* for UNIX */
typedef long DWORD;
typedef short WORD;
typedef char BYTE;
typedef unsigned long UDWORD;
typedef unsigned short UWORD;
typedef unsigned char UBYTE;
/* ---- Comment out if you need ---- */
/* #define memmove(_A, _B, _C) bcopy(_B, _A, _C) */
#endif /* UNIXY_OS */
#define CONFIG
#endif /* CONFIG */